#include "Tcpserver.hpp"

int main(int argc, char *argv[])
{
  if(argc != 2)
  {
    //输入不合法
    std::cerr << "请重新输入 端口号" << std::endl;
    return 1;
  }
  int port = atoi(argv[1]);

  Server service(port);

  service.Run();

  return 0;
}
